const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
  outputDir: '/mnt/e/clitools/article/dist/',
  pages: {
    linebreaker: {
      entry: 'src/pages/linebreaker/main.js',
      template: 'public/index.html',
      filename: 'linebreaker.html',
      title: '测试'
    },
    main: {
      entry: 'src/pages/main/main.js',
      template: 'public/index.html',
      filename: 'main.html',
      title: '主页'
    },
    settings: {
      entry: 'src/pages/settings/main.js',
      template: 'public/index.html',
      filename: 'settings.html',
      title: '采集设置'
    },
    test: {
      entry: 'src/pages/test/main.js',
      template: 'public/index.html',
      filename: 'test.html',
      title: '测试'
    },
    d3: {
      entry: 'src/pages/d3/main.js',
      template: 'public/index.html',
      filename: 'd3.html',
      title: 'd3'
    }
  }
})
